/**
 * 
 * 主panel.
 * 
 * @param desktopName
 */

MyCenterPanel = function() {
}
Ext.extend(MyCenterPanel, Ext.Panel, {
			id : "cmp_MyCenterPanel",
			layout : 'fit', //
			frame : true,// 让边界为0
			bodyStyle : 'overflow:scroll;' + 'overflow-y:hidden',// 太要命了，只有这样是对的，y对应的是横向的
			initComponent : function() {
				MyCenterPanel.superclass.initComponent.call(this);
				homepageData = model;
				portalPanel = new myPortalPanel(model);
				this._addPortalPanel(portalPanel)
			},
			items : [{
						id : "cmp_msg_panel",
						html : "正在加载portal信息..."
					}],
			_addPortalPanel : function(panel) {
				this.removeAll();
				this.add(panel);
				this.doLayout(false)
			}
		});